package com.yonyou.isv.demo.openapi.event;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yonyou.isv.demo.openapi.base.module.isv.event.pojo.ISVEvent;
import com.yonyou.isv.demo.openapi.base.module.isv.event.pojo.Order;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:
 * @author: nishch
 * @create: 2021-07-05
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ISVEventExtendDto extends ISVEvent {

    private String definitionVariable;

    /**
     * 授权事件相关的套件票据
     */
    private String suiteTicket;

    /**
     * 授权事件相关的授权的租户 id
     */
    private String authTenantId;

    /**
     * 事件涉及的租户 id
     **/
    private String tenantId;

    /**
     * 变动的 staff id
     **/
    private String[] staffId;

    /**
     * 变动的 dept id
     **/
    private String[] deptId;

    /**
     * 变动的 user id
     */
    private String[] userId;

    private Order order;

    private String actionKey;

    private Object value;

}
